package cn.hzu580.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class User {
	
	@Id
	private String uid;
	
	private String tel;
	
	private String password;
	
	private boolean sex;
	
	private String name;
	
	private int score;
	
	private int experience;
	
	private boolean is_approve;
	
	private String real_name;
	
	private String major;
	
	private float evaluate;
	
	private boolean has_sign;
	
	private int continuity_sign;
	
	private String permission;

	
	public String getPermission() {
		return permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isSex() {
		return sex;
	}

	public void setSex(boolean sex) {
		this.sex = sex;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public int getExperience() {
		return experience;
	}

	public void setExperience(int experience) {
		this.experience = experience;
	}

	public boolean isIs_approve() {
		return is_approve;
	}

	public void setIs_approve(boolean is_approve) {
		this.is_approve = is_approve;
	}

	public String getReal_name() {
		return real_name;
	}

	public void setReal_name(String real_name) {
		this.real_name = real_name;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public float getEvaluate() {
		return evaluate;
	}

	public void setEvaluate(float evaluate) {
		this.evaluate = evaluate;
	}

	public boolean isHas_sign() {
		return has_sign;
	}

	public void setHas_sign(boolean has_sign) {
		this.has_sign = has_sign;
	}

	public int getContinuity_sign() {
		return continuity_sign;
	}

	public void setContinuity_sign(int continuity_sign) {
		this.continuity_sign = continuity_sign;
	}

	public String toString(){
		return uid;
	}
	
}
